package cn.gemiman.daoyi.module.iot.open.jhl.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Schema(description = "管理后台 - 声光警号报警 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DeviceGlorySendMsgReqVO extends InnoprojhlOpenApiReqBaseVO {

    @Schema(description = "设备唯一标识：设备 mac 地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备唯一标识不能为空")
    private String deviceId;
    @Schema(description = "报警声音开关：1：开，0：关，不填默认为开")
    private Integer ucAlarm = 1;
    @Schema(description = "报警灯开关：1：开，0：关，不填默认为开")
    private Integer ucAlarmLight = 1;
    @Schema(description = "报警时长：单位为秒，应在 0-1800 之间，不填默认为 60，为 0 时关闭报警声音和报警灯")
    private Integer uiDuration = 60;
}
